<!DOCTYPE html>
<html lang="en">

<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<title>打开控制台进行调试观察</title>
	<link rel="stylesheet" href="../../styles/index.css">
	<style>
		.box {
			width: 200px;
			height: 200px;
			font-size: 12px;
			font-weight: 700;

			padding: 30px;
			border: solid 20px #000;
			margin: 50px;
		}

		.box1 {
			background: skyblue;

			box-sizing: content-box;
		}

		.box2 {
			background: pink;

			box-sizing: border-box;
		}
	</style>
</head>

<body>
	<div class="container flex justify-arount">
		<div class="box box1">
			标准盒模型：width = content_width + border_left/right + padding_left/right
		</div>
		<div class="box box2">
			ie/怪异盒模型：width = content_width（border_left/right + padding_left/right）
		</div>
	</div>
</body>

</html>